<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>修改主轴方向</title>
    <style>
        .box {
            display: flex;
            /* 主轴默认是水平，column改为垂直 */
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 400px;
            height: 400px;
            background-color: pink;
            
        }
        
    </style>
</head>
<body>
    <div class="box">
        <img src="../../assets/images/五条悟.jpg" alt="" width="200px">
        <span>五条悟</span>
    </div>
</body>
</html>